package com.northpool.operator.pub.service.request;

import java.util.Objects;

public class MapserviceEntity {
    String group = "-1";
    String name;
    String sid;
    Integer srid = 4490;
//    String srText = "GEOGCS[\\\"China Geodetic Coordinate System 2000\\\",DATUM[\\\"China_2000\\\",SPHEROID[\\\"CGCS2000\\\",6378137,298.257222101,AUTHORITY[\\\"EPSG\\\",\\\"1024\\\"]],AUTHORITY[\\\"EPSG\\\",\\\"1043\\\"]],PRIMEM[\\\"Greenwich\\\",0,AUTHORITY[\\\"EPSG\\\",\\\"8901\\\"]],UNIT[\\\"degree\\\",0.0174532925199433,AUTHORITY[\\\"EPSG\\\",\\\"9122\\\"]],AUTHORITY[\\\"EPSG\\\",\\\"4490\\\"]]";
    Integer status = 1;
    String tag = "";
    String tileSchema = "-1";
    Integer type = 1;

    public MapserviceEntity() {
    }

    public MapserviceEntity(String name, String sid, Integer srid) {
        this.name = name;
        this.sid = sid;
        if (Objects.nonNull(srid) && srid > 0) {
            this.srid = srid;
        }
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public Integer getSrid() {
        return srid;
    }

    public void setSrid(Integer srid) {
        this.srid = srid;
    }

//    public String getSrText() {
//        return srText;
//    }

//    public void setSrText(String srText) {
//        this.srText = srText;
//    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTileSchema() {
        return tileSchema;
    }

    public void setTileSchema(String tileSchema) {
        this.tileSchema = tileSchema;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
